package com.kingdee.eas.minghua.contract;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class VisacontractFactory
{
    private VisacontractFactory()
    {
    }
    public static com.kingdee.eas.minghua.contract.IVisacontract getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IVisacontract)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("8CF71528") ,com.kingdee.eas.minghua.contract.IVisacontract.class);
    }
    
    public static com.kingdee.eas.minghua.contract.IVisacontract getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IVisacontract)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("8CF71528") ,com.kingdee.eas.minghua.contract.IVisacontract.class, objectCtx);
    }
    public static com.kingdee.eas.minghua.contract.IVisacontract getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IVisacontract)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("8CF71528"));
    }
    public static com.kingdee.eas.minghua.contract.IVisacontract getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IVisacontract)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("8CF71528"));
    }
}